package com.java4;

public class ErrorTest {

    public static void main(String[] args) {
        //java.lang.StackOverflowError
//        main(args);
        //java.lang.OutOfMemoryError: Java heap space
//        int[] arr = new int[1024 * 1024 * 1024];
    }
}
